from django.db import models

class MovimentacaoBug(models.Model):
    Codigo 		= models.AutoField(max_length=4, db_index=True, editable=False, primary_key=True)
    CodBug 		= models.ForeignKey('bug.Bug')
    Descricao   = models.CharField(max_length=256)
    Data        = models.DateTimeField(editable=False)

    class Meta:
        unique_together = ['Codigo']